#include "FactoryProductA.h"
#include "..\CarAudi.h"
#include "ScreenAOC.h"
#include "RocketMY.h"

//民用火箭发射了一个带有AOC屏幕的奥迪车;
InterfaceCar* FactoryProductA::CreateCar()
{
    return new CarAudi();
}

InterfaceScreen* FactoryProductA::CreateScreen()
{
    return new ScreenAOC();
}

InterfaceRocket* FactoryProductA::CreateRocket()
{
    return new RocketMY();
}
